home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
TERMINAL
/
HDRS
/
TEXT.H
< prev
next >
Wrap
Text File
|
1990-11-20
|
561b
|
20 lines
/*
Terminal 2.0
"Text.h"
*/
typedef struct {
Byte *text; /* Pointer to text buffer */
long size; /* Size of text buffer */
long firstChar; /* Offset of first character in text */
long newChar; /* Offset of next character location */
long length; /* Length of text */
long lines; /* Number of lines in text */
long viewChar; /* Offset of character corresponding... */
long viewLine; /* ...to this line */
} TextRecord;
void AddNewCharacter (TextRecord *, Byte);
Boolean FindLine (TextRecord *, long, Byte *);
Byte RemoveCharacter (TextRecord *);